package com.emr.module.service.impl;

import java.util.List;

import com.emr.module.service.IGroupTongZhiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.emr.module.mapper.GroupMapper;
import com.emr.module.mapper.GroupTongZhiMapper;
import com.emr.module.domain.Group;
import com.emr.module.service.IGroupService;
import com.emr.common.support.Convert;

/**
 * 院内会诊 服务层实现
 * 
 * @author emr
 * @date 2019-02-28
 */
@Service
public class GroupTongZhiServiceImpl implements IGroupTongZhiService
{
	@Autowired
	private GroupTongZhiMapper groupTongZhiMapper;

	/**
     * 查询院内会诊信息
     * 
     * @param id 院内会诊ID
     * @return 院内会诊信息
     */
    @Override
	public Group selectGroupById(Integer id)
	{
	    return groupTongZhiMapper.selectGroupById(id);
	}
	
	/**
     * 查询院内会诊列表
     * 
     * @param group 院内会诊信息
     * @return 院内会诊集合
     */
	@Override
	public List<Group> selectGroupList(Group group)
	{
	    return groupTongZhiMapper.selectGroupList(group);
	}

	
	/**
     * 修改院内会诊
     * 
     * @param group 院内会诊信息
     * @return 结果
     */
	@Override
	public int updateGroup(Group group)
	{
	    return groupTongZhiMapper.updateGroup(group);
	}

	
	
}
